#ifndef SYNC_H
#define SYNC_H

#include <QObject>
#include <QtGui>

class Sync
// клас, що забезпечує синхронізацію вмісту каталогів
{
private:
    QTreeView *sourceTreeView;
    QTreeView *destinationTreeView;
    QTextEdit *logTextEdit;
public:
    QTreeView *getSourceTreeView();
    void setSourceTreeView(QTreeView *newSourceTreeView);
    QTreeView *getDestinationTreeView();
    void setDestinationTreeView(QTreeView *newDestinationTreeView);
    QTextEdit *getLogTextEdit();
    void setLogTextEdit(QTextEdit *newLogTextEdit);
    void compare(QStringList &roots, QStringList &sourceFileList, QStringList &destinationFileList, QStringList &inputFileList);
    QByteArray md5ForFileName(const QString fileName);
};

#endif // SYNC_H
